<template>
  <el-dialog title="服务器地址" append-to-body
             :close-on-click-modal="false" :visible.sync="visible" class="DF-dialog DF-dialog_center"
             lock-scroll width="600px">
    <el-form ref="dataForm" :model="dataForm" :rules="dataRule" v-loading="formLoading"
             label-width="180px">
        <el-form-item label="考点服务地址"  prop="url">
          <el-input  size="small"  placeholder="请输入考点服务地址" v-model="dataForm.url" ></el-input>
        </el-form-item>
    </el-form>
    <span slot="footer" class="dialog-footer">
      <el-button type="primary" :loading="btnLoading" @click="onCeshi()">
        测试</el-button>
      <el-button @click="visible = false">{{$t('common.cancelButton')}}</el-button>
      <el-button type="primary" :loading="btnLoading" @click="dataFormSubmit()">
        {{$t('common.confirmButton')}}</el-button>
    </span>
  </el-dialog>
</template>
<script>
export { default } from './index.js'
</script>
<style  lang="scss" scoped>

.DF-kskd-dialog{
  height: 500px;
}
</style>
